package com.heima.pojo.vo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_partner")
public class PartnerVo {

    private Long id;

    private String name;

    private String password;

    private String account;

    private String mobile;

    private String phone;

    private String email;

    private String province;

    private String city;

    private String county;

    private String addr;

    private String contact;

    private Integer ratio;

    private Integer status;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    private Integer vmCount;
}